package cn.jxau.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.jxau.bean.po.ArticleComment;
import cn.jxau.service.ArticleCommentService;

@Service
public class ArticleCommentServiceImpl extends AbstractCommonService implements ArticleCommentService {
	@Override
	public List<ArticleComment> getFiveRootComment(Long articleID) {
		return articleCommentMapper.getFiveRootComment(articleID);
	}
	@Override
	public int insertComment(ArticleComment articleComment){
		return articleCommentMapper.insert(articleComment);
	}
}
